<?php

include './common/functions.php';
include_once './common/Db.class.php';

$mid = $_GET['mid'];

$db = new Db('msg');

$db->del($mid);

header("Location:./index.php");